for(ref in b){
    new foo() = ref;
}
